GtkPopover:pointing-to: GdkRectangle instead of cairo_rectangle_int_t
authorKjell Ahlstedt <kjell.ahlstedt@bredband.net>
Tue, 21 Apr 2015 07:05:26 +0000 (09:05 +0200)
committerKjell Ahlstedt <kjell.ahlstedt@bredband.net>
Tue, 21 Apr 2015 07:05:26 +0000 (09:05 +0200)
commit2495edc9fdd604fa9f052b4003a492d2b7230d37
tree9722d0f1395b4569d8326b6543ef477815b4ebc6
parent557e8aa5480f9661caed4d88e8a42cc702431686
GtkPopover:pointing-to: GdkRectangle instead of cairo_rectangle_int_t

cairo_rectangle_int_t was replaced by GdkRectangle in commit
552c29b488ecd7bcc3303dd5514ce6dbfff04437, but the type of the pointing-to
property was not changed.

To avoid breaking old code that sets or gets the property with a GValue
of type CAIRO_GOBJECT_TYPE_RECTANGLE_INT, transformation functions between
CAIRO_GOBJECT_TYPE_RECTANGLE_INT and GDK_TYPE_RECTANGLE are registered on
the first call to gdk_rectangle_get_type().

https://bugzilla.gnome.org/show_bug.cgi?id=723394
gdk/gdkrectangle.c
gtk/gtkpopover.c